#ifndef __LAN_SEARCH_H__
#define __LAN_SEARCH_H__

#include <stdio.h>
#include <stdlib.h>
#include <sys/socket.h>
#include <netinet/in.h>

int broadcast_open(char *infName, short protocol);
int broadcast_send(int socketfd, char *buffer, unsigned int len, int IpAddr, short sPort);
int broadcast_recv(int socketfd, char *buffer, unsigned int len, struct sockaddr_in *remote);
int broadcast_init();

#endif
